<html><!-- InstanceBegin template="/Templates/_Admin_Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- InstanceBeginEditable name="doctitle" -->
<title>TCedit 测试用例编写工具 - 初始化所有产品</title>
<!-- InstanceEndEditable -->
<link rel="shortcut icon" href="favicon.ico">
<link href="/css/common.css" rel="stylesheet" type="text/css">
<script src="/js/prototype.js"></script>
<script src="/js/common.js"></script>
<script>
function initAllProduct(){
	if(confirm("确实要初始化所有产品吗？该操作可能会非常耗时！")){
		$("ButtonInitAllProduct").disabled=true;
		window.open("/admin/initAllProduct.jspx?action=initAllProduct", "newwindow", "height=320,width=500,top=" + (window.screen.height-320)/2 + ",left="+ (window.screen.width-500)/2 + ",toolbar=no,menubar=no,scrollbars=yes, resizable=no,location=no, status=no");
	}
}
</script>
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>

<body>
<!-- InstanceBeginEditable name="MainContent" -->
<table width="99%" align="center" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" valign="top">
      <table width="100%" border="0" cellspacing="0" cellpadding="3">
        <tr>
          <td width="10%" align="right"><b><font color="#FF0000">警告：</font></b></td>
          <td width="90%">初始化所有产品是非常耗时的任务，所需时间取决于您的产品数量，请耐心等待。</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>当重新安装应用或数据库时，才需执行此操作。</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>此操作将重新生成目前数据库内所有产品的实体文件及动态表。</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>此操作执行成功后，必须重新执行编译并重启应用服务器后新初始化的产品才可以使用。</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td><br><input name="ButtonInitAllProduct" type="button" class="button" id="ButtonInitAllProduct" value="初始化所有产品" onClick="initAllProduct();"></td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>